/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package model.item.plugin;

import java.awt.Image;
import model.game.GameInterface;
import model.item.Item;
import model.item.PlantableItem;
import model.item.SellableItem;
import model.utility.ImageUtility;

/**
 * When planted, create a stone that cannot be stepped on
 * @author dolphinigle
 */
public class LotusSeed extends Item implements PlantableItem, SellableItem {

  /**
   * Constructor
   */
  public LotusSeed(GameInterface game) {
    super(game);
  }

  @Override
  public String getName() {
    return "Lotus Seed";
  }

  @Override
  public int getSellPrice() {
    return 105;
  }

  @Override
  public String getDescription() {
    return "Dies in 20 days. Grows in summer. Matures in 1 day, Harvestable everyday."
            + " When stepped on, detonates and inflict damage to all monsters"
            + " around it for damage proportional to"
            + " the number of times it has been watered since its last "
            + " detonation. Can be stepped on.";
  }

  @Override
  public Image getImage() {
    return ImageUtility.loadImage("resources/pictures/item/lotus_seed.png");
  }

  @Override
  public int buyPrice() {
    return 210;
  }

  @Override
  public String getPlantName() {
    return "Lotus";
  }

}
